package com.zry.admin.controller.purchase;


import com.zry.admin.query.PurchaseListGoodsQuery;
import com.zry.admin.service.IPurchaseListGoodsService;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author 张瑞洋
 * @title: PurchaseListGoodsController
 * @projectName zry_jxc
 * @description: 进货单商品表 前端控制器
 * @date 2022/2/27 11:19
 */
@Controller
@RequestMapping("/purchaseListGoods")
public class PurchaseListGoodsController {

    @Resource
    private IPurchaseListGoodsService purchaseListGoodsService;

    @RequestMapping("list")
    @ResponseBody
    public Map<String, Object> purchaseListGoodsList(PurchaseListGoodsQuery purchaseListGoodsQuery) {
        return purchaseListGoodsService.purchaseListGoodsList(purchaseListGoodsQuery);
    }

}
